#include "variable.h"
#include <iostream>
using namespace std;

Variable::Variable(const Matrix & value) : Node({}), value_(value){
    Shape shape = value_.getShape();
    setOutShape(&shape);
}

void Variable::compute(Context* context){
    context -> setFlowedData(this, value_);
}
